<template>
  <div class="menu">
    <page-content
      :content-config="contentConfig"
      @new-click="handleNewBtnClick"
      @edit-click="handleEditBtnClick"
    ></page-content>
  </div>
</template>

<script setup lang="ts" name="menu">
import usePageModal from '@/hooks/usePageModal'
import contentConfig from './config/content.config'

const { handleNewBtnClick, handleEditBtnClick } = usePageModal()
</script>

<style scoped></style>
